/**
 * 
 */
package com.meedoll.manager.std.server.service;

import java.net.UnknownHostException;
import java.sql.DriverManager;
import java.sql.SQLException;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import com.meedoll.manager.std.client.logon.ILogonService;
import com.meedoll.manager.std.client.logon.LogonBean;
import com.meedoll.manager.std.server.dao.LogonDao;
import com.mongodb.DB;
import com.mongodb.Mongo;
import com.mongodb.MongoException;

/**
 * @author andy
 * 
 */
@SuppressWarnings("serial")
public class LogonService extends RemoteServiceServlet implements ILogonService {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public LogonBean existUser(String userName, String pwd) {
		return LogonDao.getInstance().existUser(userName, pwd);
	}
}
